package com.xq.notealiyun.uitl;

import java.util.Random;

/**
 * @title: RandowCode
 * @Author Tan
 * @Date: 2020/8/3 17:58
 * @Version 1.0
 */
public class RandomCode {
    public static String random(){
        Random random=new Random();
        String result="";
        for (int i = 0; i < 6; i++) {
            result+=random.nextInt(10);
        }
        return result;
    }
}